package com.grasp.data;

import cc.wulian.ihome.wan.entity.DeviceEPInfo;
import cc.wulian.ihome.wan.entity.DeviceInfo;

public class DeviceItem extends IconItem {
	private static final long serialVersionUID = 1L;
	private String devID;//设备ID(服务器)
	private String devRoomID;
	private String devName;//设备名称
	private String devType;
	private String devCategory;
	private String devEP;
	private String devEpPort;
	private String devEpName;
	private String devEpStatus;
	private String devEpData;
	private String senceID;
	private String areaID;
	private String devTypeID;

	public String getDevID() {
		return devID;
	}

	public void setDevID(String devID) {
		this.devID = devID;
	}

	public String getDevRoomID() {
		return devRoomID;
	}

	public void setDevRoomID(String devRoomID) {
		this.devRoomID = devRoomID;
	}

	public String getDevName() {
		return devName;
	}

	public void setDevName(String devName) {
		this.devName = devName;
	}

	public String getDevType() {
		return devType;
	}

	public void setDevType(String devType) {
		this.devType = devType;
	}

	public String getDevCategory() {
		return devCategory;
	}

	public void setDevCategory(String devCategory) {
		this.devCategory = devCategory;
	}

	public String getDevEP() {
		return devEP;
	}

	public void setDevEP(String devEP) {
		this.devEP = devEP;
	}

	public String getDevEpPort() {
		return devEpPort;
	}

	public void setDevEpPort(String devEpPort) {
		this.devEpPort = devEpPort;
	}

	public String getDevEpName() {
		return devEpName;
	}

	public void setDevEpName(String devEpName) {
		this.devEpName = devEpName;
	}

	public String getDevEpStatus() {
		return devEpStatus;
	}

	public void setDevEpStatus(String devEpStatus) {
		this.devEpStatus = devEpStatus;
	}

	public String getDevEpData() {
		return devEpData;
	}

	public void setDevEpData(String devEpData) {
		this.devEpData = devEpData;
	}

	public String getSenceID() {
		return senceID;
	}

	public void setSenceID(String senceID) {
		this.senceID = senceID;
	}

	public String getAreaID() {
		return areaID;
	}

	public void setAreaID(String areaID) {
		this.areaID = areaID;
	}

	public String getDevTypeID() {
		return devTypeID;
	}

	public void setDevTypeID(String devTypeID) {
		this.devTypeID = devTypeID;
	}

	public void setDeviceInfo(DeviceInfo mDeviceInfo, DeviceEPInfo epInfo) {
		setDevID(mDeviceInfo.getDevID());
		setDevRoomID(mDeviceInfo.getRoomID());
		setDevName(mDeviceInfo.getName());
		setDevType(mDeviceInfo.getType());
		setDevCategory(mDeviceInfo.getCategory());
		setDevEP(epInfo.getEp());
		setDevEpName(epInfo.getEpName());
		setDevEpData(epInfo.getEpData());
		setDevEpStatus(epInfo.getEpStatus());
	}

}
